\name{getProtocolStructure}
\alias{getProtocolStructure}
\title{Query the structure of a ProtocolApplication...}
\usage{getProtocolStructure(protocolApplication)}
\description{Query the structure of a ProtocolApplication}
\details{Helper for summary, getProtocolStructure will recursively walk through the ProtocolApplications children
and return the actions together with their recursion depth. The
actual return value is a vector of depths i.e. executions of protocolList with the actions in its names attribute.}
\value{A vector of integers, indicating the number of recursive executions of protocolList. 
One integer for each action in the protocol, ordered by the sequence of actions in the protocol. The top level
is 0. The names attribute of the vector stores the name of the ProtocolApplication and the name of the action
separated by a colon.}
\author{Bastian R. Angermann}
\arguments{\item{protocolApplication}{The protocolApplication whose structure should be returned}}
